Action hook 'post_action_{$action}'

in WP Core File wp-admin/post.php at line 363

Description

Fires for a given custom post action request. The dynamic portion of the hook name, `$action`, refers to the custom post action.

Occurrences

Filename Line Number
wp-admin/post.php 363

Parameters

Type Name Description
int $post_id Post ID sent with the request.

PHP Doc

/**
		 * Fires for a given custom post action request.
		 *
		 * The dynamic portion of the hook name, `$action`, refers to the custom post action.
		 *
		 * @since 4.6.0
		 *
		 * @param int $post_id Post ID sent with the request.
		 */